import request from '@/utils/request'

// 查询压力合格率日报列表
export function listDispatchDailyPressureQualifiedRateReports(query) {
  return request({
    url: '/system/dispatchDailyPressureQualifiedRateReports/list',
    method: 'get',
    params: query
  })
}

// 查询压力合格率日报详细
export function getDispatchDailyPressureQualifiedRateReports(dailyPressureQualifiedRateReportsId) {
  return request({
    url: '/system/dispatchDailyPressureQualifiedRateReports/' + dailyPressureQualifiedRateReportsId,
    method: 'get'
  })
}

// 新增压力合格率日报
export function addDispatchDailyPressureQualifiedRateReports(data) {
  return request({
    url: '/system/dispatchDailyPressureQualifiedRateReports',
    method: 'post',
    data: data
  })
}

// 修改压力合格率日报
export function updateDispatchDailyPressureQualifiedRateReports(data) {
  return request({
    url: '/system/dispatchDailyPressureQualifiedRateReports',
    method: 'put',
    data: data
  })
}

// 删除压力合格率日报
export function delDispatchDailyPressureQualifiedRateReports(dailyPressureQualifiedRateReportsId) {
  return request({
    url: '/system/dispatchDailyPressureQualifiedRateReports/' + dailyPressureQualifiedRateReportsId,
    method: 'delete'
  })
}
